package com.electric.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 客户
 * </p>
 *
 * @author zhangbin
 * @since 2018-08-28
 */
public class Customer extends Model<Customer> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("seq_id")
    private String seqId;
    /**
     * 户号
     */
    @TableField("customer_number")
    private String customerNumber;
    /**
     * 户名
     */
    @TableField("customer_name")
    private String customerName;
    /**
     * 详细地址
     */
    private String address;


    public String getSeqId() {
        return seqId;
    }

    public void setSeqId(String seqId) {
        this.seqId = seqId;
    }

    public String getCustomerNumber() {
        return customerNumber;
    }

    public void setCustomerNumber(String customerNumber) {
        this.customerNumber = customerNumber;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    protected Serializable pkVal() {
        return this.seqId;
    }

    @Override
    public String toString() {
        return "Customer{" +
        ", seqId=" + seqId +
        ", customerNumber=" + customerNumber +
        ", customerName=" + customerName +
        ", address=" + address +
        "}";
    }
}
